package com.hksj.base.query;

import com.fasterxml.jackson.annotation.JsonIgnore;
import com.hksj.common.core.model.BasePageQuery;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import javax.validation.constraints.NotNull;
import java.util.Date;
import java.util.List;

@Data
public class RoomPropertyQuery extends BasePageQuery {

    @JsonIgnore
    @ApiModelProperty("专业编码列表")
    private List<String> specialityCodeList;

    @ApiModelProperty("节点路径 paths = buildingId,floorId  传paths可不传buildingId floorId，反之亦然")
    private String paths;

    @ApiModelProperty("科室编码")
    private String departmentItemValue;

    @NotNull(message = "查询开始时间不能为空")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @ApiModelProperty("查询开始时间 yyyy-MM-dd")
    private String startTime;

    @NotNull(message = "查询结束时间不能为空")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @ApiModelProperty("查询结束时间 yyyy-MM-dd")
    private String endTime;

    @NotNull(message = "时间点时间点不能为空")
    @DateTimeFormat(pattern = "HH:mm:ss")
    @ApiModelProperty("时间点 HH:mm:ss")
    private String timePoint;
}
